package com.ruoyi.iot.domain.emun;

public class ChannelConstant {

    /**
     * 默认通道key
     */
    public static final String DEFAULT_CHANNEL_KEY = "property";

    /**
     * 上行
     */
    public static final String UP = "up";

    /**
     * 下行
     */
    public static final String DOWN = "down";
    /**
     * 双向
     */
    public static final String BOTH = "both";

    /**
     * 同步调用
     */    
    public static final int CALL_TYPE_SYNC = 0;

    /**
     * 异步调用
     */
    public static final int CALL_TYPE_ASYNC = 1;

    /**
     * 需要对方回复
     */
    public static final int IS_ACK = 0;


    /**
     * 不需要对方回复
     */
    public static final int NONE_ACK = 1;
    
}
